﻿using System.Runtime.Serialization;

namespace Pku.BookStore.Model
{
    /// <summary>
    /// 
    /// </summary>	
    [DataContract]
    public class OrderDetailModel
    {
        #region props

        /// <summary>
        /// 定单ID
        /// </summary>
        [DataMember]
        public int OrderID
        {
            get;
            set;
        }

        /// <summary>
        /// 图书ID
        /// </summary>
        [DataMember]
        public int BookID
        {
            get;
            set;
        }

        /// <summary>
        /// 单价
        /// </summary>
        [DataMember]
        public decimal UnitPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 数量
        /// </summary>
        [DataMember]
        public int Quantity
        {
            get;
            set;
        }

        /// <summary>
        /// 所属出版社ID
        /// </summary>
        [DataMember]
        public int PublisherID
        {
            get;
            set;
        }

        /// <summary>
        /// 图书名
        /// </summary>
        [DataMember]
        public string BookName
        {
            get;
            set;
        }

        /// <summary>
        /// 图书图片
        /// </summary>
        [DataMember]
        public string Image
        {
            get;
            set;
        }

        #endregion
    }

}

